package com.meilai.project.entity.business.contract;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author xchen
 * @since 2022-03-13
 */
@Data
@TableName("contract_attachment")
@ApiModel(value="ContractAttachment对象", description="")
public class ContractAttachment {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(type= IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "合同类型，1：销售合同")
    private Integer type;

    @ApiModelProperty(value = "合同id")
    private Long contract_id;

    @ApiModelProperty(value = "合同名称")
    private String name;

    @ApiModelProperty(value = "合同编号")
    private String num;

    @ApiModelProperty(value = "合同地址")
    private String url;


    public static final String TYPE = "type";

    public static final String CONTRACT_ID = "contract_id";

    public static final String NAME = "name";

    public static final String NUM = "num";

    public static final String URL = "url";

}
